package cc.ccoke.design.factory.abs;

import cc.ccoke.design.factory.entity.Animal;
import cc.ccoke.design.factory.entity.LittleCat;
import cc.ccoke.design.factory.entity.LittleDog;

/**
 * 动物宝宝工厂类
 */
public class LittleAnimalFactory implements AnimalFactory {
    @Override
    public Animal getDog() {
        return new LittleDog();
    }

    @Override
    public Animal getCat() {
        return new LittleCat();
    }
}
